Test Results
In Controller > Test Results you can view the test results for all your models and scripts to make sure that your tests are running correctly. In addition, you can:
- Determine which of your tests have passed, failed, or are in progress.
- View the execution steps, logs, and screenshots for the selected test run.
- See which execution environment was used for each test run.
- See which system under test (SUT) was used for each test run.
- Delete test results that are no longer required.
- Abort tests that are in progress.
Filtering
By default, you see all your test results on the Test Results page. You can limit the results you see by applying filters. DAI provides several types of filters, which are described below.
The top of the Test Results page provides the following options:
- Search by ID: a search field where you can enter the exact ID of a test result you want to see. The results for each test execution have a unique ID generated by the Eggplant DAI database.
- Filters: a button you can click to show or hide the filter selection bar. The Filters button also shows the number of filters applied, if any.
- No filters applied or Clear all button depending on whether any filters are applied.
You might also see the filter selectors, which display in a bar below the Filters button when they are showing. Click the Filters button to show or hide the filter selection bar. For example, screen below shows the Suites filter in use with the selected suite name. You also see the Filters button showing the number 1
in purple, indicating one filter is applied.
The filter types are as follows:
By ID
Narrow the results shown to a specfic test result by entering the exact test result ID in the Search by ID field at the top of the Test Results page. The results for each test execution have a unique ID generated by the Eggplant DAI database.
You only see the following filter options when the filter selection bar is showing. Click the Filters button to see the filter selection bar if it is not showing.
By Run Status
Narrow the results shown by the run status. The run status options are as follows:
- Passed: successful tests are highlighted in green.
- Failed: unsuccessful tests are highlighted in red.
- In Progress: incomplete tests are highlighted in yellow.
- Cancelled: tests that were stopped before they could be completed.
- Error: tests that resulted in error as well as tests that were interrupted due to loss of network connectivity or the agent process ending abruptly.
The All Run Statuses filter option was removed in DAI 7.2. All of the run statuses display when no filters are applied.
By Date range
Narrow the results shown to a specific timeframe that matters most to you. Click Date Range to see the date filter:
- After: filters the test results to only those that exist after the selected date.
- Before: filters the test results to only those that exist before the selected date.
- Between: allows you to specify a range by selecting two dates.
- None: removes the date filter.
By Model
Narrow the results shown to a specific model by clicking the Models filter button and selecting the model you want from the list. For more information about models, see DAI Build a Model.
Enable Show submodels results at the bottom of the Model filter list to show the test results for the main model and submodels, or disable it to show only the main model results.